package com.xieyunjie.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
//@ConfigurationProperties(prefix = "student")
public class Teacher {
    private Integer id;
    private String name;
    private String[] hobby;
    private List<String> lists;
    private Map<String, String> maps;
    private Set<String> sets;
    private Integer age;
    private Date birth;

    public void setUserName(String userName) {
        System.out.println(userName);
    }
}
